package com.beijing.http.chat;

import com.beijing.http.chatMore.TalkReceive;
import com.beijing.http.chatMore.TalkSend;

/**
 * @Author Ma Wenqi
 * @Date 2021/3/28 14:47
 * @Version 1.0
 */
public class TalkStudent {
    public static void main(String[] args) {
        //开启两个线程
        new Thread(new TalkSend(7777,"localhost",9999)).start();
        new Thread(new TalkReceive(8888,"老师")).start();
    }
}
